package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.payconfig.CouponsItem;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.payconfig.GrantCouponsVo;

/**
 * 赠券项目
 * 
 * @author js
 * @email junshu@qq.com
 * @date 2023-07-14
 */
public interface CouponsItemService extends IService<CouponsItem> {

    Boolean updateCouponsItemById(Long comId,int item_id, int status, String breakTime);

    CouponsItem selectCouponsItemByName(Long comId,String couponsItemName);

    Result couponsItem(Long comId, int page, int size);

    Boolean CouponsItemUpdateById(Long comId, CouponsItem couponsItem);

    Boolean couponsItemByStop(Long comId,int status);

    Result grantCoupons(Long comId, GrantCouponsVo request);
}
